-- GENERATED SPELL FOR [Lar'korwi Mate] --


function spell0_9683(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9683', 15000, 1)
end

function spell1_9683(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9683', 8000, 1)
end

function Sorts_9683(pUnit, Event)
local choix_sorts_9683 = math.random(0, 1)
if choix_sorts_9683 == 0 then
pUnit:RegisterEvent('spell0_9683', 1, 1)
end
if choix_sorts_9683 == 1 then
pUnit:RegisterEvent('spell1_9683', 1, 1)
end
end

function mob9683_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9683', math.random(1500, 3000), 1)
end

function mob9683_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9683_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9683_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9683, 1, 'mob9683_Action')
RegisterUnitEvent(9683, 2, 'mob9683_Leave')
RegisterUnitEvent(9683, 3, 'mob9683_Kill')
RegisterUnitEvent(9683, 4, 'mob9683_Die')
